<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<script type="text/javascript">
	$(function() {
		$('#supplier_sjglAdd_combogrid').combogrid({
			multiple : true,
			nowrap : false,
			url : '${pageContext.request.contextPath}/vehicleInfoController/combogrid.action',
			panelWidth : 450,
			panelHeight : 200,
			idField : 'vehicleid',
			textField : 'ton',
			pagination : true,
			fitColumns : true,
			rownumbers : true,
			editable : true,
			mode : 'remote',
			delay : 500,
			pageSize : 5,
			pageList : [ 5, 10 ],
			columns : [ [ {
				field : 'vehicleid',
				title : '编号',
				width : 150,
				hidden : true
			}, {
				field : 'ton',
				title : '车辆类型 ',
				width : 150
			}] ]
		});
	});
</script>
<div align="center">
	<form id="supplier_sjglAdd_addForm" method="post">
		<table class="tableForm">
			<tr>
				<th style="width: 100px;">编号</th>
				<td><input name="supplierid" />
				</td>
				<th style="width: 80px;">供应商编码</th>
				<td><input name="suppliercode" class="easyui-validatebox" data-options="required:true" />
				</td>
			</tr>
			<tr>
				<th>供应商中文名称</th>
				<td><input name="supplierzhname" class="easyui-validatebox" data-options="required:true" style="width: 150px;" />
				</td>
				<th>供应商英文名称</th>
				<td><input name="supplierenname"/>
				</td>
			</tr>
			<tr>
				<th>联系人</th>
				<td><input name="linkman" />
				</td>
				<th>中文联系地址</th>
				<td><input name="zhaddr" />
				</td>
			</tr>
			<tr>
				<th>英文联系地址</th>
				<td><input name="enaddr" class="easyui-validatebox" data-options="required:true" style="width: 150px;" />
				</td>
				<th>联系方式</th> 
				<td><input name="contact" />
				</td>
			</tr>
			<tr>
				<th>传真</th>
				<td><input name="fax" class="easyui-validatebox" data-options="required:true" style="width: 150px;" />
				</td>
				<th>创建时间</th>
				<td><input name="createtime"  onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
				</td>
			</tr>
			<tr>
			    <th>拥有车辆</th>
				<td><input id="supplier_sjglAdd_combogrid" name="vehicleIds" style="width: 155px;" />
				</td>
		    </tr>
		</table>
	</form>
</div>